projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea444b4
)
(sys_socket): Make sockets non-inheritable.
author
Geoff Voelker
<voelker@cs.washington.edu>
Fri, 24 Apr 1998 04:35:05 +0000
(
04:35
+0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Fri, 24 Apr 1998 04:35:05 +0000
(
04:35
+0000)
src/w32.c
patch
|
blob
|
history
diff --git
a/src/w32.c
b/src/w32.c
index 2cdccbe389a3129bf8c24e61db6f5284ac950a26..42027ae20520fd8a56b841ce0e49c719a35eed25 100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-2180,7
+2180,7
@@
sys_socket(int af, int type, int protocol)
if (!pfn_SetHandleInformation
|| !pfn_SetHandleInformation ((HANDLE) s,
HANDLE_FLAG_INHERIT,
-
HANDLE_FLAG_INHERIT
))
+
0
))
{
DuplicateHandle (parent,
(HANDLE) s,